<!DOCTYPE html>
<html>
<head>
    <title>宜住人生管理后台</title>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit"/> 
    <meta name="force-rendering" content="webkit"/> 
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/> 
    <!-- <link rel="stylesheet" href="/static/css/index.css"> -->
    <link rel="shortcut icon" href="/static/image/bitbug_favicon.ico">
    <link rel="stylesheet" type="text/css" href="/static/css/hw-admin.css">
    <link rel="stylesheet" href="/static/css/i_base.css">
    <style>
        @font-face {font-family: "iconfont";
            src: url('/static/fonts_two/iconfont.eot'); /* IE9*/
            src: url('/static/fonts_two/iconfont.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('/static/fonts_two/iconfont.woff') format('woff'), /* chrome, firefox */
            url('/static/fonts_two/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
            url('/static//fonts_two/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
        }

        .iconfont{
        font-family:"iconfont" !important;
        font-size:16px;font-style:normal;
        -webkit-font-smoothing: antialiased;
        -webkit-text-stroke-width: 0.2px;
        -moz-osx-font-smoothing: grayscale;
        }
    </style>
    <!--[if lt IE 9]>
    　 <script src="/static/lib/html5shiv.min.js" type="text/javascript"></script>
       <script src="/static/lib/selectivizr.min.js" type="text/javascript"></script>
    <![endif]-->  
    <style>
        .admin-header ul li.logo {
            font-size: 20px;
            float: left;
            height: 50px;
            padding: 0 15px 0 12px;
            box-sizing: border-box;
            background-color: #4e4e4e;
            background: rgba(255, 255, 255, 0.1);
            width: 200px;
        }
        .zero,.history,.yjfk {
            display: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: red;
            color: #fff;
            position: absolute;
            right: 50px;;
            top: 50%;
            line-height: 16px;
            text-align: center;
            margin-top: -6px;
            font-size: 12px;
         }   
    </style>
</head>
<body>
    <!-- 头部 -->
    <div class="admin-header">
        <ul>
        
            <li class="logo" style="padding-left: 16px;display: flex;align-items: center;justify-content: center;"><img style='width: 60px;height: auto;' src="/static/image/zj-sc.png" alt=""></li>
            <li style="padding-left: 8px;position: absolute;left: 213px;top: 0;">宜住人生管理后台</li>

            <!-- 管理员 -->
            <li class="quit_login" id="logout">
                <div class="box">
                    <i class="iconfont" style="font-size:20px;">&#xe871;</i>
                    <span><?=$_SESSION['admin_info']['username'] ?></span>
                    <div class="down_sanjiao"></div>
                </div>
            </li>

            <!--admin_quit 悬停框-->
            <div class="admin_quit">
                <!-- <div class="up_sanjiao"></div> -->
                <div class="info">
                    <div class="user_info">
                        <ul> 
                            <li>
                            <p>
                                <!-- <?=$_SESSION['admin_info']['usergroup']==1?'街道管理员':'网格长'?> -->
                            </p>
                            <!-- <span><php echo isset($_SESSION["admin_info"]["account"])?$_SESSION["admin_info"]["account"]:'';?></span> -->
                            </li>
                        </ul>
                    </div>
                    <div class="pub_style">
                        <a target="iframe" href="/Admin/Index/editpass">
                            <ul>
                                <li><i class="iconfont">&#xe872;</i></li>
                                <li>修改密码</li>
                            </ul>
                        </a>
                    </div>
                    <div class="logout pub_style">
                        <a target="_self" href="/Admin/Login/logOut">
                            <ul>
                                <li><i class="iconfont">&#xe65a;</i></li>
                                <li>退出登录</li>
                            </ul>
                        </a>
                    </div>
                </div>
            </div> 
        </ul>
    </div>

    <!--侧边栏目录-->
    <div class="admin-aside">
        <div class="first_sidebar">
            <ul>
                <!-- 合起展开 -->
                <li class="toggle-menu">
                    <i class="iconfont">&#xe876;</i>
                    <i class="shrink iconfont">&#xe877;</i>
                </li> 

             

                <li>
                    <a target="iframe" href="/Admin/Index/indexmain">
                        <div class="first-menu" title="首页">
                            <i class="iconfont blue-icon">&#xe65b;</i>
                            <span>首页</span>
                            <!-- <i class="slide-icon iconfont">&#xe879;</i>
                            <i class="slide-icon iconfont slidedown">&#xe878;</i> -->
                        </div>
                    </a>   
                </li>
                
                <li>
                    <div class="first-menu" title="会员管理">
                        <i class="iconfont blue-icon">&#xe966;</i>
                        <span>会员管理</span>
                        <i class="slide-icon iconfont">&#xe879;</i>
                        <i class="slide-icon iconfont slidedown">&#xe878;</i>
                    </div>  
                </li>
                <div class="second-menu">
                    <a target="iframe" href="<?=base_url().'Admin/Member/memberList' ?>"><i class="iconfont hh-iconfont">&#xe63c;</i><span>会员列表</span></a> 
                    <a style="position: relative;" target="iframe" href="<?=base_url().'Admin/Member/cardEditList'?>"><i class="iconfont hh-iconfont">&#xe63c;</i><span>认证更改记录</span><div style="margin-top: -8px;right: 35px;" class="history">1</div></a>
                </div>

                <li>
                   <a target="iframe" href="/Admin/Hotel/hotelList">
                        <div class="first-menu" title="酒店管理">
                            <i class="iconfont blue-icon">&#xe61b;</i>
                            <span>酒店管理</span>
                            <!-- <i class="slide-icon iconfont">&#xe879;</i>
                            <i class="slide-icon iconfont slidedown">&#xe878;</i> -->
                        </div>
                   </a>
                </li>
           
                <li>
                   <a target="iframe" href="/Admin/Appeal/appealList">
                        <div class="first-menu" title="申诉清单">
                            <i class="iconfont blue-icon">&#xe678;</i>
                            <span>申诉清单</span>
                            <div class="zero">1</div>
                            <!-- <i class="slide-icon iconfont">&#xe879;</i>
                            <i class="slide-icon iconfont slidedown">&#xe878;</i> -->
                        </div>
                   </a>
                </li>

                <li>
                  
                    <div class="first-menu" title="报表中心">
                        <i class="iconfont blue-icon">&#xe624;</i>
                        <span>报表中心</span>
                        <i class="slide-icon iconfont">&#xe879;</i>
                        <i class="slide-icon iconfont slidedown">&#xe878;</i>
                    </div>
                    
                </li>
                <div class="second-menu">
                    <a target="iframe" href="<?=base_url().'Admin/MemberCount/mcountList?date_start='.date('Y-m-d', strtotime('-1 month')).'&date_end='.date('Y-m-d',strtotime('-1 day')).'&hotel='?>"><i class="iconfont hh-iconfont">&#xe63c;</i><span>会员日新增统计表</span></a> 
                    <a target="iframe" href="<?=base_url().'Admin/HotelCount/hcountList'?>"><i class="iconfont hh-iconfont">&#xe63c;</i><span>机器用户量统计表</span></a>
                    <a target="iframe" href="<?=base_url().'Admin/MachineCount/MachineCountList?date_start='.date('Y-m-d',strtotime('-1 month')).'&date_end='.date('Y-m-d',strtotime('-1 day'))?>"><i class="iconfont hh-iconfont">&#xe63c;</i><span>机器用户日增量明细表</span></a>
                </div>
                <li>
                  
                   <a target="iframe" href="/Admin/FeedBack/feedBackList">
                    <div class="first-menu" title="意见反馈">
                        <i class="iconfont blue-icon">&#xe88c;</i>
                        <span>意见反馈</span>
                        <div class="yjfk">1</div>
                    </div>
                   </a>
                    
                </li>               
            </ul>
        </div>
        <!-- 杭为科技 -->
        <div class="company_logo"><a href="http://www.ihangwei.com" target="_blank">杭为科技 | 技术支持</a></div>
    </div>

    <!--主体信息-->
    <div class="admin-section">
        <iframe src="/Admin/Index/indexMain" id="iframe" name="iframe" width="100%" height="100%" frameborder="0"></iframe>
    </div>

    <script src="/static/lib/jquery-1.12.4.min.js"></script>
    <script src="/static/js/adminIndex.js"></script>
    <script>
        $.post('/Admin/Appeal/ajaxAuthNum',function(info){
                info = JSON.parse(info);
                // console.log('嘻嘻嘻')
                if(info.code==0){
                    $('.zero').hide();
                }else {
                    $('.zero').show();
                    $('.zero').text(info.count);
                }
            })
        setInterval(function(){
            $.post('/Admin/Appeal/ajaxAuthNum',function(info){
                info = JSON.parse(info);
                // console.log('嘻嘻455454嘻')
                if(info.code==0){
                    $('.zero').hide();
                }else {
                    $('.zero').show();
                    $('.zero').text(info.count);
                }
            })
        },5000);

         $.post('/Admin/Member/ajaxCardEditNum',function(info){
                info = JSON.parse(info);
                // console.log('嘿嘿嘿')
                if(info.code==0){
                    $('.history').hide();
                }else {
                    $('.history').show();
                    $('.history').text(info.count);
                }
            })
        setInterval(function(){
            $.post('/Admin/Member/ajaxCardEditNum',function(info){
                info = JSON.parse(info);
                // console.log('嘿嘿嘿221')
                if(info.code==0){
                    $('.history').hide();
                }else {
                    $('.history').show();
                    $('.history').text(info.count);
                }
            })
        },5000);
            $.post('/Admin/FeedBack/ajaxFeedBackNum',function(info){
                info = JSON.parse(info);
                // console.log('哈哈哈')
                if(info.code==0){
                    $('.yjfk').hide();
                }else {
                    $('.yjfk').show();
                    $('.yjfk').text(info.count);
                }
            })
        setInterval(function(){
            $.post('/Admin/FeedBack/ajaxFeedBackNum',function(info){
                info = JSON.parse(info);
                // console.log('哈哈哈11')
                if(info.code==0){
                    $('.yjfk').hide();
                }else {
                    $('.yjfk').show();
                    $('.yjfk').text(info.count);
                }
            })
        },5000)
    </script>
</body>
</html>